/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.PlaySettings*/
public class PlaySettings extends JavaScriptObject {

	protected PlaySettings() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final String getActionVerb()/*-{
		return this.ActionVerb;
	}-*/;

	public native final void setActionVerb(String value)/*-{
		this.ActionVerb = value;
	}-*/;

	protected native final int _getHideWhileNotPlaying()/*-{
		return this.HideWhileNotPlaying;
	}-*/;

	public final MsoTriState getHideWhileNotPlaying(){
		return MsoTriState.valueOf(_getHideWhileNotPlaying());
	}
	protected native final void _setHideWhileNotPlaying( int value)/*-{
		this.HideWhileNotPlaying = value;
	}-*/;

	public final void setHideWhileNotPlaying(MsoTriState value){
		_setHideWhileNotPlaying(value.getValue());
	}
	protected native final int _getLoopUntilStopped()/*-{
		return this.LoopUntilStopped;
	}-*/;

	public final MsoTriState getLoopUntilStopped(){
		return MsoTriState.valueOf(_getLoopUntilStopped());
	}
	protected native final void _setLoopUntilStopped( int value)/*-{
		this.LoopUntilStopped = value;
	}-*/;

	public final void setLoopUntilStopped(MsoTriState value){
		_setLoopUntilStopped(value.getValue());
	}
	protected native final int _getPlayOnEntry()/*-{
		return this.PlayOnEntry;
	}-*/;

	public final MsoTriState getPlayOnEntry(){
		return MsoTriState.valueOf(_getPlayOnEntry());
	}
	protected native final void _setPlayOnEntry( int value)/*-{
		this.PlayOnEntry = value;
	}-*/;

	public final void setPlayOnEntry(MsoTriState value){
		_setPlayOnEntry(value.getValue());
	}
	protected native final int _getRewindMovie()/*-{
		return this.RewindMovie;
	}-*/;

	public final MsoTriState getRewindMovie(){
		return MsoTriState.valueOf(_getRewindMovie());
	}
	protected native final void _setRewindMovie( int value)/*-{
		this.RewindMovie = value;
	}-*/;

	public final void setRewindMovie(MsoTriState value){
		_setRewindMovie(value.getValue());
	}
	protected native final int _getPauseAnimation()/*-{
		return this.PauseAnimation;
	}-*/;

	public final MsoTriState getPauseAnimation(){
		return MsoTriState.valueOf(_getPauseAnimation());
	}
	protected native final void _setPauseAnimation( int value)/*-{
		this.PauseAnimation = value;
	}-*/;

	public final void setPauseAnimation(MsoTriState value){
		_setPauseAnimation(value.getValue());
	}
	public native final int getStopAfterSlides()/*-{
		return this.StopAfterSlides;
	}-*/;

	public native final void setStopAfterSlides(int value)/*-{
		this.StopAfterSlides = value;
	}-*/;

}
